package cn.yueranzs.response;

/**
 * @author yueranzs
 * @date 2021-11-12 15:11
 */
public enum UrlResultCode implements CustomizeResultCode{

    /**
     * 头像组
     */
    HEAD_PORTRAIT_URL(100001,"head-portrait")


    ;

    private Integer code;

    private String message;

    UrlResultCode(Integer code,String message){
        this.code = code;
        this.message = message;
    }

    /**
     * 获取错误状态码
     *
     * @return 错误状态码
     */
    @Override
    public Integer getCode() {
        return code;
    }

    /**
     * 获取错误信息
     *
     * @return 错误信息
     */
    @Override
    public String getMessage() {
        return message;
    }
}
